#################
# Created 5.5
# Used for benchmarking with range of two bigms
#################

from ccfs.fscplex import fscplex

fc = fscplex()
fc.generate_instance(NI = 2, NS=100, eps=0.2)
fc.parameters.read_file("../../param/stofac.prm")
fc.write("fc.lp")
for i in range(20):
    val1 = i * 0.1
    for j in range(20):
        val2 = j * 0.1
        fc.set_bigm_two(val1, val2)
        fc.solve()
        print val1, val2,
        print fc.solution.get_objective_value(),
        print fc.solution.progress.get_num_nodes_processed()
